<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<html>
<head>
	<title>Content</title>
	<link rel="stylesheet" type="text/css" href="./standard.css" />
</head>
<body>
<div  class="rssFeed">
	<form name="rssChartFeed" action="./buildChart.svg" target="_blank" method="post">
	<input type="hidden" name="chartType" value="bar"/>
	<input type="hidden" name="setCount" value="<c:out value="${requestScope.setCount}"/>"/>
	<input type="hidden" name="pointCount" value="<c:out value="${requestScope.pointCount}"/>"/>
	<input type="hidden" name="rssLink" value="./rssLink"/>
	<span class="sectionTitle">Pixel Size</span>
	<select name="chartWidth">
		<option value="400">400 x 300</option>
		<option value="600">600 x 480</option>
		<option value="800" selected>800 x 600</option>
		<option value="1024">1024 x 768</option>
	</select>
	<br/>
	&lt;?xml version="1.0"?&gt;<br/>
	&lt;rss version="2.0"&gt;<br/>
	<div class="indent">&lt;channel&gt;
		<div class="indent">&lt;title&gt;RSS Chart Demo Feed&lt;/title&gt;
		<br/>
		&lt;link&gt;./clickChart&lt;/link&gt;
		<br/>
		&lt;description&gt;RSS Chart demonstration&lt;/description&gt;
		<br/>
		&lt;item&gt;<br/>
			<div class="indent">
				&lt;title&gt;<input type="textbox" size="100" maxlength="100" name="chartTitle" value="<c:out value="${requestScope.chartTitle}"/>">&lt;/title&gt;<br/>
				&lt;link&gt;./clickChart&lt;/link&gt;<br/>
				&lt;description&gt;<br/>
				<div class="indent">
					&lt;rssChart:chart defaultCharter="[to do]" defaultLegend="no"&gt;<br/>
					<div class="indent">
					&lt;rssChart:categories&gt;
					<div class="indent">
					&lt;rssChart:name&gt;
					<span class="note">&lt;!--Enter a name for the category here. Make it a simple name...--&gt;</span>
					<input name="catgName" size="80" maxlength="100" type="text" value="<c:out value="${requestScope.catgName}"/>"/>&lt;/rssChart:name&gt;<br/>
					&lt;rssChart:values&gt;
					<span class="note">&lt;!--Replace each question mark with a category value (x-axis labels; pie slice labels...). Keep the colons as delimiters...--&gt;</span>					
					<input name="catgVals" size="80" maxlength="100" type="text" value="<c:out value="${requestScope.catgVals}"/>"/>&lt;/rssChart:values&gt;
					</div>
					&lt;/rssChart:categories&gt;
					<br/>
					&lt;rssChart:dataSets&gt;
					<div class="indent">
					&lt;rssChart:name&gt;	
					<span class="note">&lt;!--Enter a name for the collection of data sets here. Make it a simple name...--&gt;</span>
					<input name="dataSetsName" size="80" maxlength="100" type="text" value="<c:out value="${requestScope.dataSetsName}"/>"/>
					&lt;/rssChart:name&gt;
					<br/>
					&lt;rssChart:valueLabel&gt;&nbsp;
					<span class="note">&lt;!--Enter a the label for the values in the data sets (as in Count, Dollars, etc.)...--&gt;</span>
					<input name="dataSetsValueLabel" size="80" maxlength="100" type="text" value="<c:out value="${requestScope.dataSetsValueLabel}"/>"/>
					&lt;/rssChart:valueLabel&gt;
					<br/>

					<c:forEach items="${dataSetMaps}" var="dataSetMap">
					&lt;rssChart:dataSet&gt;
					<div class="indent">
						&lt;rssChart:name&gt;&nbsp;
						<span class="note">&lt;!--Enter a name for a data set here. Make it a simple name...--&gt;</span>
						<input name='dataSetName<c:out value="${dataSetMap.idx}"/>' size="80" maxlength="100" type="text"  value='<c:out value="${dataSetMap.name}"/>' />
						&lt;/rssChart:name&gt;
						<br/>
						&lt;rssChart:values&gt;
						<span class="note">&lt;!--Replace each question mark with a numeric value. Keep the colons as delimiters...--&gt;</span>
						<input name='dataSetVals<c:out value="${dataSetMap.idx}"/>' size="80" maxlength="100" type="text" value='<c:out value="${dataSetMap.val}"/>'/>&lt;/rssChart:values&gt;
					</div>
					&lt;/rssChart:dataSet&gt;
					</c:forEach>

					</div>				
					&lt;/rssChart:dataSets&gt;
					<br/>
					</div>
					&lt;/rssChart:chart&gt;
				</div>
				&lt;/description&gt;
			</div>
			&lt;pubDate&gt;Wed, 27 Dec 2006 13:00:00 GMT&lt;/pubDate&gt;<br/>
			&lt;guid&gt;http://...&lt;/guid&gt;<br/>
			&lt;/item&gt;
			</div>
		&lt;/channel&gt;
		</div>
		<br/>
		&lt;/rss&gt;
		</form>
		
		
	</div>

</body>
</html>